﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Simple.Services
{
    /// <summary>
    /// 陌生人模式
    /// </summary>
    public class DataSynchronismModel
    {
        public string sn { get; set; }

        public int count { get; set; }

        public List<DataSynchronismLogModel> logs { get; set; }
    }

    public class DataSynchronismLogModel
    {
        /// <summary>
        /// 温度
        /// </summary>
        public decimal body_temperature { get; set; }

        /// <summary>
        /// 扫描时间
        /// </summary>
        public string recog_time { get; set; }

        /// <summary>
        /// 学生姓名
        /// </summary>
        public string user_name { get; set; }

    }

    public class DataSynchronismResultModel
    {
        public int Result { get; set; } = 0;

        public string Msg { get; set; } = "成功";
    }

    /// <summary>
    /// 上传识别成功记录
    /// </summary>
    public class DataSynchronismFaceModel
    {
        public string sn { get; set; }

        public int count { get; set; }

        public List<DataSynchronismLogFaceModel> logs { get; set; }
    }

    public class DataSynchronismLogFaceModel
    {
        /// <summary>
        /// 温度
        /// </summary>
        public string body_temperature { get; set; }

        /// <summary>
        /// 扫描时间
        /// </summary>
        public string recog_time { get; set; }

        /// <summary>
        /// 学生姓名
        /// </summary>
        public string user_name { get; set; }

        /// <summary>
        /// 学生学号
        /// </summary>
        public string user_id { get; set; }

        /// <summary>
        ///  0 正常 1 晨检不通过
        /// </summary>
        public string user_action { get; set; } = "0";

        /// <summary>
        ///  咽喉状态 1 正常 2 轻微 3 严重
        /// </summary>
        public string user_throat_action { get; set; } = "1";
    }

}
